﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevenBlog.Core.Entities;

namespace LevenBlog.Core.Data
{
    public interface IFriendLink
    {
        int Count(IDbProvider provider);

        void Insert(IDbProvider provider, lb_friendlink link);

        void Update(IDbProvider provider, lb_friendlink link);

        void Delete(IDbProvider provider, int id);

        lb_friendlink Get(IDbProvider provider, int id);

        IList<lb_friendlink> Get(IDbProvider provider);

        IList<lb_friendlink> Get(IDbProvider provider, FriendLinkState selectState);
    }
}
